package com.celesea.configuration.web.bean;

import com.celesea.auth.menu.vo.MenuVo;
import com.celesea.framework.authority.AuthorityPrincipal;

import java.util.List;
import java.util.Map;

public class LoginInfo {

    private Map<String, List<MenuVo>> menus;

    private AuthorityPrincipal principal;

    private String loginUrl;

    private String logoutUrl;

    public String getLoginUrl() {
        return loginUrl;
    }

    public void setLoginUrl(String loginUrl) {
        this.loginUrl = loginUrl;
    }

    public String getLogoutUrl() {
        return logoutUrl;
    }

    public void setLogoutUrl(String logoutUrl) {
        this.logoutUrl = logoutUrl;
    }

    public Map<String, List<MenuVo>> getMenus() {
        return menus;
    }

    public void setMenus(Map<String, List<MenuVo>> menus) {
        this.menus = menus;
    }

    public AuthorityPrincipal getPrincipal() {
        return principal;
    }

    public void setPrincipal(AuthorityPrincipal principal) {
        this.principal = principal;
    }
}
